Flexible ethernet switching systems and methods

ABSTRACT

A switch system configured to switch Flexible Ethernet (FlexE) client services includes interface circuitry configured to ingress and egress FlexE clients; and switch circuitry communicatively coupled to the interface circuitry and configured to switch portions of the FlexE clients utilizing a cell switch and Optical Transport Network (OTN) over Packet (OPF) techniques. A method of switching Flexible Ethernet (FlexE) client services includes ingressing and egressing FlexE clients via interface circuitry; interfacing the FlexE clients with switch circuitry communicatively coupled to the interface circuitry; and switching portions of the FlexE clients with the switch circuitry utilizing a cell switch and Optical Transport Network (OTN) over Packet (OPF) techniques.

CROSS-REFERENCE TO RELATED APPLICATION(S)

The present patent/application is a continuation of U.S. patent application Ser. No. 14/855,857, filed Sep. 16, 2015, and entitled “FLEXIBLE ETHERNET SWITCHING SYSTEMS AND METHODS,” which claims priority to U.S. Provisional Patent Application No. 62/186,489, filed Jun. 30, 2015, and entitled “FLEXIBLE ETHERNET SWITCHING SYSTEMS AND METHODS,” the contents of each is incorporated by reference.

FIELD OF THE DISCLOSURE

The present disclosure generally relates to networking systems and methods. More particularly, the present disclosure relates to Flexible Ethernet (also referred to variously as Flex Ethernet or FlexE) switching systems and methods.

BACKGROUND OF THE DISCLOSURE

Layer 1 protocols and technologies have evolved including Synchronous Optical Network (SONET)/Synchronous Digital Hierarchy (SDH) in the 1990s to Optical Transport Network (OTN) in the 2000s. SONET/SDH were synchronous protocols optimized for circuit switching and transmission. OTN evolved from SONET/SDH to provide transparency and support for Wavelength Division Multiplexing (WDM) as well as for optimized transmission of packet traffic. SONET, SDH, and OTN each have a rich suite of Operations, Administration, and Maintenance (OAM) functions and support for a wide range of services and applications. Conventionally, as OTN scales beyond 100 G (B100 G), there are emerging frameworks for Layer 1 functionality, namely Flexible OTN (FlexO or B100 G) initiatives in the International Telecommunication Union (ITU) and Flex Ethernet in the Optical Internetworking Forum (OIF).

Traditionally, Ethernet rates were defined in steps of 10×, i.e., 10 Mb/s, 100 Mb/s, 1 Gb/s (GbE), etc. There is a wrinkle in this 10× progression where 40 Gb/s Ethernet (40 GbE) was defined. Today, there are various Ethernet rates defined, including rates in-between established rates. IEEE 802.3 standards group is discussing 2.5 Gb/s, 5 Gb/s, 25 Gb/s and other various odd rates. Specifically, different rates are established for different applications, such as wireless applications, data center group applications, data center interconnections, etc. There is an expectation that different Ethernet rates will continue as new high-volume applications require optimized solutions. Specifically, router/switch equipment and optical transmission equipment are evolving at different rates. There is a desire to support simple transport of n×Ethernet streams across a faster interface. IEEE historically defines Ethernet rates (Media Access Control (MAC) layer) with projects that also define the Physical (PHY)/Physical Medium Dependent (PMD) rates; the MAC rates and PMD rates are tied and defined together. To address evolution in Ethernet and dissociate the MAC/client rate to the PHY/PMD, Flexible Ethernet has been proposed. Note, as described herein, the terms Flexible Ethernet, Flex Ethernet, and FlexE can be used interchangeably.

In transport applications, FlexE can be used to match the flexibility of optical transmission equipment. Specifically, optical transmission equipment (e.g., Dense Wave Division Multiplexing (DWDM)) is evolving to support variable modulation formats, Forward Error Correction (FEC) schemes, baud rates, etc. DWDM equipment can support a variable line rate with the same hardware, relying on configuration and provisioning. FlexE is based on Ethernet constructs, e.g., 64 b/66 b encoding, recognizing the primary client being transported is Ethernet. Note, the current scope of FlexE, as described in Implementation Agreement IA #OIF-FLEXE-01.0 “Flex Ethernet Implementation Agreement—Draft 1.1” (July 2015), the contents of which are incorporated by reference, is limited to interfacing applications (e.g., bonding, subrating, and channelization). However, it may be advantageous to leverage Flexible Ethernet to augment or even replace OTN and/or FlexO in some transport and switching applications.

OTN switching can meet the requirements of most (if not all) of the FlexE switching applications. However, it is “alien” and different for certain market segments that are not used to transport technologies. OTN is also perceived as complex and costly given it has included many features to support switching, Operations, Administration, and Maintenance (OAM), transparency, multiservice, etc. It is expensive given the volume of OTN devices and relatively small (compared to Ethernet) market application. Again, FlexE uses building blocks (i.e. 64 b/66 b) and concepts from Ethernet. It is simpler for routers or switches to integrate FlexE functionality rather than OTN.

BRIEF SUMMARY OF THE DISCLOSURE

In an embodiment, a Flexible Ethernet (FlexE) switch system configured to switch a FlexE client service includes interface circuitry configured to ingress and egress a plurality of FlexE clients; and switch circuitry configured to switch portions of the FlexE clients between the interface circuitry based on 64 b/66 b block boundaries. The portions can include calendar slots, and wherein the switch circuitry can utilize a synchronous switching scheme. The interface circuitry can be configured to partially terminate a FlexE shim associated with the plurality of FlexE clients and provide access to 64 b/66 b blocks from the plurality of FlexE clients, for phase and frequency alignment. The switch system can be a native FlexE client 64 b/66 b switch system, and wherein the interface circuitry can be configured to perform timing synchronization including phase and frequency alignment between the 64 b/66 b block boundaries. The switch circuitry can be a Synchronous Optical Network (SONET)/Synchronous Digital Hierarchy (SDH)-based switch, and wherein the interface circuitry can be configured to at least one of adapt and transcode 64 b/66 b blocks into SONET/SDH frames. The switch circuitry can be a cell switch, and wherein the portions of the FlexE clients can be SARed (Segmentation and Reassembly) using Optical Transport Network (OTN) over Packet (OPF) techniques and switched as a stream across the cell switch. The OPF techniques can accumulate 66 b blocks of one or more calendar slots with packets sized by +/− one byte to a signal source rate with timing transfer. The OPF techniques can accumulate 66 b blocks of one or more calendar slots with fixed sized packets with no timing transfer. The cell switch can utilize a phase aligned clock to deskew at an egress of the FlexE clients.

In another embodiment, a node configured to switch a Flexible Ethernet (FlexE) client service in a network includes one or more line cards configured to ingress and egress a plurality of FlexE clients; and one or more switch fabrics configured to switch portions of the FlexE clients between the one or more line cards based on 64 b/66 b block boundaries. The portions can include calendar slots, and wherein the switch circuitry utilizes a synchronous switching scheme. The one or more switch fabrics can be a native FlexE client switch system, and wherein the one or more line cards can be configured to perform timing synchronization between the 64 b/66 b block boundaries. The one or more switch fabrics can be a Synchronous Optical Network (SONET)/Synchronous Digital Hierarchy (SDH)-based switch, and wherein the one or more line cards can be configured to at least one of adapt and transcode 64 b/66 b blocks into STS-n frames. The one or more switch fabrics can be a cell based switch, and wherein the portions of the FlexE clients can be SARed (Segmentation and Reassembly) using OTN over Packet (OPF) techniques and switched as a stream across the cell based switch. The OPF techniques can accumulate 66 b blocks of one or more calendar slots with packets sized by +/− one byte to a signal source rate with timing transfer. The OPF techniques can accumulate 66 b blocks of one or more calendar slots with fixed sized packets with no timing transfer. The cell switch can utilize a phase aligned clock to deskew at an egress of the FlexE clients.

In a further embodiment, a Flexible Ethernet (FlexE) switch method for switching a FlexE client service includes providing interface circuitry configured to ingress and egress a plurality of FlexE clients; and providing switch circuitry configured to switch portions of the FlexE clients between the interface circuitry based on 64 b/66 b block boundaries. The portions can include calendar slots, and wherein the switch circuitry can utilize a synchronous switching scheme. The switch system can be a native FlexE client switch system, and wherein the interface circuitry can be configured to perform timing synchronization between the 64 b/66 b block boundaries.

BRIEF DESCRIPTION OF THE DRAWINGS

The present disclosure is illustrated and described herein with reference to the various drawings, in which like reference numbers are used to denote like system components/method steps, as appropriate, and in which:

FIG. 1 is a diagram of a general structure of FlexE;

FIG. 2A is a block diagram of FlexE mux functions;

FIG. 2B is a block diagram of FlexE demux functions;

FIG. 3 is a diagram of a transport network aware or unaware of a router to transport FlexE connection;

FIG. 4 is a network diagram of a transport network aware of FlexE;

FIG. 5 is a network diagram of a transport network of an example of partial-rate transport of Ethernet PHYs of a FlexE group;

FIG. 6 is a diagram of FlexE calendar distribution;

FIG. 7 is a diagram of FlexE overhead on each PHY of the FlexE group;

FIG. 8 is an example diagram of FlexE calendar slots where 25% of the calendar slots are unavailable;

FIG. 9 is a diagram of encoding of ordered set block for FlexE overhead;

FIG. 10 is a diagram of FlexE overhead;

FIG. 11 is a diagram of data flow and interleaving for a FlexE client mux in calendar slots;

FIG. 12 is a diagram of a standard Ethernet local fault ordered set;

FIG. 13 is a diagram of an Ethernet remote fault ordered set;

FIG. 14 is a diagram of data flow and de-interleaving for a FlexE client demux in calendar slots;

FIG. 15 is a diagram of a comparison between the layer stack and atomic functions of FlexO and FlexE;

FIG. 16 is a block diagram of a FlexE client switch showing FlexE transparent;

FIG. 17 is a block diagram of a FlexE client switch showing FlexE termination;

FIG. 18 is a block diagram for the termination of FlexE shim by line card ports of a FlexE switch;

FIG. 19 is a block diagram of a SONET/SDH STS-1 switch adapted to support FlexE;

FIGS. 20 and 21 are block diagrams of an OIF OTN over Packet (OPF) switch adapted to support FlexE; and

FIG. 22 is a diagram of mapping individual client calendar slots to packets for the OPF switch.

DETAILED DESCRIPTION OF THE DISCLOSURE

In various embodiments, FlexE switching systems and methods provide FlexE switching implementations or algorithms using FlexE as a switching technology. Specifically, the systems and methods address FlexE in legacy systems (e.g., SONET/SDH), in current systems (e.g., Packet-Optical Transport Systems (P-OTS), OTN, etc.), and in new future systems dedicated to FlexE and 64 b/66 b switching. In various embodiments, FlexE is described with augmentations to address OTN applications, such as service OAM, hitless resizing, switching, multi-service applications, and the like.

With the FlexE switching systems and methods, there are applications (such as intra-data center) that could benefit from layer 1 techniques to bond and possibly switch large (elephant) flows and bypass layer 2 switches. FlexE could be used in certain markets to bypass layer 2 switches, providing cost, power, latency, etc. benefits. In some embodiments the systems and methods herein describe circuit switching capabilities with FlexE technologies.

The FlexE switching systems and methods can include a 64 b/66 b block synchronous switch topology and granularity, idle adaptation functionality for adapting phase and frequency in a synchronous network, phase alignment to a FlexE frame for hitless switching, FlexE over fabric links, and the like. The FlexE switching systems and methods also include mapping of FlexE into STS-n for legacy fabrics, e.g., transcoding of FlexE to fit in an STS-192. Further, the FlexE switching systems and methods provide FlexE switching over OPF including transcoding FlexE over OPF for bandwidth savings and using OPF single stream per shim/destination or group.

Flexible Ethernet

FlexE provides a generic mechanism for supporting a variety of Ethernet Media Access Control (MAC) rates that may or may not correspond to any existing Ethernet PHY rate. This includes MAC rates that are both greater than (through bonding) and less than (through sub-rate and channelization) the Ethernet PHY (Physical Layer) rates used to carry FlexE. This can be viewed as a generalization of the Multi-Link Gearbox implementation agreements, removing the restrictions on the number of bonded PHYs (MLG2.0, for example, supports one or two 100 GBASE-R PHYs) and the constraint that the client signals correspond to Ethernet rates (MLG2.0 supports only 10 G and 40 G clients). The Multi-Link Gearbox implementation agreements are described in IA # OIF-MLG-01.0 “Multi-link Gearbox Implementation Agreement” (May 2012) and IA # OIF-MLG-02.0 “Multi-link Gearbox Implementation Agreement” (April 2013), the contents of each are incorporated by reference.

Referring to FIG. 1, in an embodiment, a diagram illustrates a general structure of FlexE 10. Again, conventionally, the general capabilities supported by the FlexE include (i) bonding of Ethernet PHYs, e.g., supporting a 200 G MAC over two bonded 100 GBASE-R PHYs, (ii) sub-rates of Ethernet PHYs, e.g., supporting a 50 G MAC over a 100 GBASE-R PHY, and (iii) channelization within a PHY or a group of bonded PHYs, e.g., support a 150 G and two 25 G MACs over two bonded 100 GBASE-R PHYs. Note, combinations are also contemplated, for example, a sub-rate of a group of bonded PHYs, for example, a 250 G MAC over three bonded 100 GBASE-R PHYs.

The general structure of FlexE 10 includes a FlexE group 12, one or more FlexE clients 14, and a FlexE shim 16. The FlexE group 12 refers to a group including 1 to n bonded Ethernet PHYs. The FlexE group 12 can include one or more bonded 100 GBASE-R PHYs as well as including other rates, including new, higher rates once those standards are complete. The one or more FlexE clients 14 are each an Ethernet flow based on a MAC data rate that may or may not correspond to any Ethernet PHY rate. The FlexE client 14 MAC rates supported by the current implementation agreement (IA #OIF-FLEXE-01.0) are 10, 40, and m×25 Gb/s. The FlexE shim 16 is the layer that maps or demaps the FlexE clients 14 carried over the FlexE group 12. Similar to the terminology of MLG, a FlexE mux refers to the transmit direction which maps the FlexE clients 14 over the FlexE group 12. The FlexE demux refers to the receive direction which demaps the FlexE clients 14 from the FlexE group 12.

Referring to FIGS. 2A and 2B, in an embodiment, block diagrams illustrate FlexE mux functions (FIG. 2A) and FlexE demux functions (FIG. 2B). The FlexE shim 16 can be envisioned as being in the middle of the Physical Coding Sublayer (PCS) in the 100 GBASE-R stack as illustrated in FIG. 80-1 of IEEE Std 802.3-2015, the entirety of which is incorporated herein by reference. The Media Independent Interface (MII), Reconciliation Sublayer (RS), and MAC above the FlexE shim 16 are separate for each FlexE client 14 and operate at the FlexE client rate. The layers below the PCS (100 GBASE-R Physical Medium Attachment (PMA), optional FEC, PMD) are used intact as specified for Ethernet. IEEE 802.3 is a working group, and a collection of IEEE standards produced by the working group defining the physical layer and data link layer's MAC of wired Ethernet.

FIG. 2A illustrates the functions of the FlexE mux (the FlexE shim 16 functions in the transmit direction). Where the 64 b/66 b encode and idle insert/delete functions are performed and whether these functions are part of the FlexE mux is application specific. What is presented for insertion into the slots of the FlexE master calendar is a stream of 64 b/66 b encoded blocks from each client encoded per IEEE Std 802.3-2015 Table 82-4 which has been rate-matched to other clients of the same FlexE shim 16. This stream of 66 b blocks might be created directly at the required rate using back-pressure from a Network Processing Unit (NPU). It might come from a single-lane Ethernet PHY such as 10 G or 25 G, where the process of rate-matching involves both idle insertion/deletion, plus converting the rate-aligned stream from the 4-byte alignment of IEEE Std 802.3-2015 clause 49 to the 8-byte alignment of IEEE Std 802.3-2015 clause 82. Note that the IEEE 802.3 diagrammatic convention of showing idle insertion/deletion as though this were an operation that operates on a stream of 64 b/66 b blocks, even though strictly speaking this may require 64 b/66 b decoding and recoding, particularly in the case of converting between 4-byte alignment and 8-byte alignment. The stream of blocks may come from a multi-lane Ethernet PHY, where the lanes need to be deskewed and re-interleaved with alignment markers removed prior to performing idle insertion/deletion to rate match with other clients of the same FlexE shim 16. Or the stream may have come from another FlexE shim 16, for example, connected across an OTN network, where all that is required is to perform idle insertion/deletion to rate match with other clients of the same FlexE shim 16.

The 66 b blocks from each FlexE client 14 are distributed sequentially into the master calendar in the order described herein. The 66 b blocks from the master calendar are distributed to each PHY of the FlexE group 12 according to the ordering described herein. The FlexE overhead is inserted into the sub-calendar of each PHY. The stream of 66 b blocks of each PHY is distributed to the PCS lanes of that PHY with the insertion of alignment markers, and this is presented at the PMA service interface in the 100 GBASE-R stack. Lower layers and interfaces of the 100 GBASE-R Ethernet PHY (e.g., CAUI, FEC, PMA, PMD) are used as specified in IEEE Std 802.3-2015. Error Control blocks are generated for insertion into calendar slots that are unused or unavailable. LF (Local Fault) blocks are generated for insertion into the calendar slots of any failed FlexE client.

FIG. 2B illustrates the functions of the FlexE demux (the FlexE shim 16 in the receive direction). The layers of each 100 GBASE_R PHYs below the PCS are used exactly as specified in IEEE Std 802.3-2012, the entirety of which is incorporated herein by reference. The PCS lanes are recovered, deskewed, reinterleaved, and the alignment markers are removed. The aggregate stream is descrambled. The calendar slots of the each PHY are logically interleaved in the order specified herein. The FlexE overhead is recovered from each PHY. In the case that any PHY of the FlexE group 12 has failed (PCS_Status=FALSE) or overhead lock or calendar lock has not been achieved on the overhead of any of the PHYs, LF is generated to be demapped from the master calendar for each FlexE PHY. The 66 b blocks are extracted from the master calendar positions assigned to each FlexE client in the order described herein.

Where the Idle Insertion/Deletion, 66 B Decoding functions are performed and whether they are inside or outside the FlexE is application specific. The 66 b blocks could be delivered directly to an NPU. If delivered to a single-lane PHY, idle insertion/deletion may be used to increase the rate to the PHY rate, realigning to 4-byte boundaries in the process (for 10 G or 25 G) and recoding 64 b/66 b according to clause 49. For a multi-lane PHY, idle insertion/deletion is used to increase the rate to the PHY rate less the space needed for alignment markers, the blocks are distributed to PCS lanes with AM insertion. For a FlexE client mapped over OTN, idle insertion/deletion may be used to adjust the rate as required for the OTN mapping.

FlexE Applications

FlexE can support a variety of applications. A non-exhaustive list includes:

-   -   Router to Transport Connection.     -   Intra-Data Center “Fat Pipe” application: bonded PHYs for flows         exceeding the PHY rate, or carrying traffic that doesn't         distribute efficiently with LAG.     -   Generalized MLG for port expansion applications, e.g., an n×100         G PHY as an umbilicus to a satellite shelf of lower rate ports.

Referring to FIG. 3, in an embodiment, a network diagram illustrates a transport network 20 unaware of a router to transport FlexE connection. In FIG. 3, the FlexE shim 16, e.g., in a router or switch, maps the FlexE client(s) 14 over a group of bonded Ethernet PHYs 22. Each of the Ethernet PHYs 22 is carried independently over the transport network 20 using a PCS codeword transparent mapping (e.g., the mapping of 100 GBASE-R into Optical channel Path Unit 4 (OPU4) as described in ITU-T Recommendation G.709 clause 17.7.5), the entirety of which is incorporated herein by reference. The Ethernet PHYs 22 are intended to be carried over the same fiber route. All of the PHYs 22 of the FlexE group 12 need to be interconnected between the same two FlexE shims 16. In this case, the FlexE shim 16 will need to tolerate and accommodate considerably more skew than if the FlexE shims 16 were only separated by an Ethernet link distance of 40 km or less, as the transport network 20 could carry the signal over thousands of kilometers. For the case illustrated in FIG. 3, it is the PHYs 22 of the FlexE group 12 which are carried over the transport network 20. Note, in FIG. 3, the transport network 20 is unaware of FlexE 10.

Referring to FIG. 4, in an embodiment, a network diagram illustrates a transport network 30 aware of FlexE. In FIG. 4, the distance between any pair of FlexE shims 16 is limited to the Ethernet link distance (about 40 km maximum), so the amount of skew that needs to be tolerated and compensated is considerably less. The other important distinction here is that it is the FlexE clients 14 rather than the PHYs 22 of the FlexE group 12 which are carried over the transport network 30. The FlexE client 14 could be constructed to be the complete size of the payload that can be carried over a single wavelength (e.g., construct 200 G to fill a Dual Polarization (DP) 16-Quadrature Amplitude Modulation (16QAM) wavelength with the bonding of two 100 GBASE-R PHYs), or could be a smaller client which is multiplexed and switched at a sub-wavelength level, using the mapping described in ITU-T Recommendation G.709 clause 17.9 to carry the FlexE client signal over an Optical channel Data Unit flex (ODUflex) Constant Bit Rate (CBR).

Referring to FIG. 5, in an embodiment, a network diagram illustrates a transport network 40 of an example of partial-rate transport of Ethernet PHYs 22 of a FlexE group 12. Here, the Ethernet PHY rate may be greater than the wavelength rate, and there is a reason (for example, wavelengths terminated on different line cards) that it is not desirable to terminate the FlexE shim 16 in transport equipment 42. The example illustrated here is a 150 G FlexE client carried over two 75 G wavelengths, but one can imagine a possible future 200 GbE rate where one would want to carry a 300 G FlexE client over two bonded 200 GbE and be able to carry the two partially-filled Ethernet PHYs over 150 G wavelengths.

FlexE Group

The FlexE group 12 includes from 1 to n 100 GBASE-R Ethernet PHYs 22. Each PHY can be identified by a number in the range [1-254]. The values of 0 and 255 are reserved. A PHY number may correspond to the physical port ordering on equipment, but the FlexE shim 16 at each end of the group must identify each PHY in the group 12 using the same PHY number. PHY numbers do not need to be contiguous: even if a FlexE group 12 is composed of initially contiguous PHY numbers, this may not be preserved as PHYs are added to or removed from the group 12.

Each of these PHYs 22 uses the bulk of the PCS functions described in IEEE Std 802.3-2015 clause 82 including PCS lane distribution, lane marker insertion, alignment, and deskew. All the PHYs 22 of the FlexE group 12 must use the same physical layer clock. Each PHY 22 of the FlexE group 12 is able to deliver a logically serial stream of 64 b/66 b encoded blocks from the FlexE mux to the FlexE demux at a data rate of:

${103.125\mspace{14mu}{Gb}\text{/}s \times \frac{16383}{16384}} \pm {100\mspace{14mu}{ppm}}$

FlexE supports a value of n (number of PHYs 22 in the FlexE group 12) up to 254, although practical implementations are likely limited to the range of 4-8 PHYs 22. The fraction applied to the base rate reflects the fact that 1/16 K of the space of the interface is occupied by PCS lane alignment markers which are not space available to carry the FlexE payload. The FlexE payload carried over each PHY 22 of the FlexE group 12 has the format of a logically serial stream of (mostly) legal 64 b/66 b blocks with the format described in IEEE Std 802.3-2015 FIG. 82-4, although the blocks do not appear in a sequence that makes sense to interpret as an Ethernet interface. The actual PHYs 22 of the FlexE group 12 may transcode these blocks to 256 b/257 b format according to IEEE Std 802.3-2015 clause 91.5.2.5 according to the PHY type, but they are trans-decoded back to 64 b/66 b blocks prior to delivery to the FlexE demux.

FlexE Client

Each FlexE client 14 is a logically serial stream of 64 b/66 b blocks representing an Ethernet MAC layer. The MAC layer of a FlexE client 14 may operate at a rate of 10, 40, or n×25 Gb/s. The 64 b/66 b encoding is according to IEEE Std 802.3-2015 FIG. 82-4. For certain cases where the FlexE client 14 originates from an Ethernet PHY, this may require conversion from the 4-byte alignment of start-of-packet for a PHY which uses the clause-49 PCS to the 8-byte alignment of FIG. 82-4 as part of the idle insertion/deletion process.

In the case where the FlexE client 14 comes from an Ethernet PHY which uses PCS lane alignment markers (e.g., 40 GBASE-R), the lanes must be deskewed, re-interleaved and serialized, removing the alignment markers to produce the 64 b/66 b stream which is treated as a FlexE client 14. All FlexE clients 14 transmitted over the same FlexE group 12 must be aligned to a common clock. This is accomplished using idle insertion/deletion as described in IEEE Std 802.3-2015 clause 82.2.3.6. In addition, the bit-rate of each FlexE client 14 is reduced slightly from nominal as part of this process to allow room for insertion of FlexE overhead and the PCS lane alignment markers of the FlexE group 12. So the 64 b/66 b encoded format of a FlexE client 14 operates at a data rate of:

${{FlexE}\mspace{14mu}{Client}\mspace{14mu}{MAC}\mspace{14mu}{rate} \times \frac{66}{64} \times \frac{16383}{16384} \times \frac{20460}{20461}} \pm {100\mspace{14mu}{ppm}}$

This is a rate reduction slightly under 0.011%, which is well within what can be accomplished with idle insertion/deletion without packet loss. Note that this does not actually correspond to any clock that needs to be generated in an implementation, as the idle insertion-deletion process will simply operate by filling the allocated block positions in the FlexE group 12 from a FlexE client 14 First-In First-Out (FIFO) with its own deficit idle counter and inserting or deleting idles in the process of filling the block positions in the FlexE group 12 according to a FlexE calendar.

FlexE Calendar

The FlexE operates using a calendar which assigns 66 b block positions on each PHY 22 of the FlexE group 12 to each of the FlexE clients 14. The calendar has a granularity of 5 G and has a length of 20 slots per 100 G of FlexE group 12 capacity. Two calendars are supported: an “A” and a “B” calendar. At any given time, one of the calendars is used for mapping the FlexE clients 14 into the FlexE group 12 and demapping the FlexE clients 14 from the FlexE group 12. The two calendars are provided to facilitate reconfiguration.

For a FlexE group 12 including n bonded 100 GBASE-R PHYs, the logical length of the master calendar is 20 n. The blocks as allocated per the master calendar are distributed to n sub-calendars of length 20 on each of the PHYs of the FlexE group as shown in FIG. 6. FIG. 6 is a diagram illustrating FlexE calendar distribution. The order of distribution of twenty blocks at a time is selected over simple “round robin” distribution of 66 b blocks to facilitate addition of PHYs 22 to a FlexE group 12 without the need to change the calendar slots allocated to existing FlexE clients 14. Calendar slots are identified by their PHY number and the slot [0-19] (within that PHY). The calendar slots assigned to FlexE clients 14 do not change when PHYs are added or removed from the group 12. PHYs with calendar slots assigned to FlexE clients 14 cannot be removed from the group (or all FlexE clients 14 need to be moved to other PHYs or removed BEFORE a PHY is removed from the group). The “logical” sequence number of a calendar slot is 20×the PHY number plus the calendar slot number within the PHY. The sequence is ascending order. Note that the sequence numbering is not necessarily consecutive when the assigned PHY numbers are not contiguous. This logical order only matters when calendar slots on different PHYs are assigned to the same FlexE client 14.

FlexE Overhead and Alignment

The alignment of the data from the PHYs 22 of the FlexE group 12 is accomplished by the insertion of FlexE overhead into a stream of 66 b blocks carried over the FlexE group 12. The FlexE overhead is encoded as a 66 b block which can be recognized independently of the FlexE client data. An illustration of the FlexE overhead on each PHY of the FlexE group is shown in FIG. 7.

On a 100 GBASE-R PHY, a FlexE overhead block will occur approximately once per 13.1 μs. The actual format of the FlexE overhead blocks is such that they occur in a repeating sequence of four blocks, so the sequence has a period of approximately 52.4 μs. This sequence is used to align all of the PHYs 22 of the FlexE group 12 at the FlexE demux to reconstruct the sequence in the order of the master calendar so that the FlexE clients 14 can be recovered.

The scenario illustrated in FIG. 5 is supported by marking a certain number of the calendar slots as unavailable. This is different from “unused”, in that it is known, due to transport network constraints, that not all of the calendar slots generated from the FlexE mux will reach the FlexE demux and, therefore, no FlexE client 14 should be assigned to those slots. The intention is that when a PHY 22 of the FlexE group 12 is carried across the transport network, the mapping is able to compress the signal to less than the PHY rate by dropping the unavailable calendar slots. A case where 25% of the calendar slots are unavailable is illustrated in FIG. 8.

The anchor position FlexE overhead is encoded as an ordered set (control block type 0×4 B). A different “O” code (Operational Code) is selected (i.e. 0×5) which is different from that for the sequence ordered set used by Ethernet or the signal ordered set used by Fibre channel. The information to be transmitted in the FlexE overhead is encoded into the bytes D1, D2, and D3 of the overhead set block is shown in FIG. 9.

The information which needs to be included in the overhead includes:

-   -   The number of PHYs 22 in the FlexE group 12;     -   The identity (sequence) of this PHY 22 within the FlexE group         12;     -   A way to transmit the programming of the calendars from the         FlexE mux to the FlexE demux;     -   A way to indicate which calendar (“A” or “B”) is in use at this         time; and     -   A management channel. This may not be necessary in all         applications (for example, if a network management system has         direct access to the FlexE shim 16 at both ends of the         connection), but may be useful for applications such as using         FlexE for an n×100 G umbilicus to a remote shelf of lower-rate         ports.

The amount of information to be conveyed from the FlexE mux to the FlexE demux exceeds the 24 bits available. This is addressed by spreading the relevant overhead across a sequence of four FlexE overhead blocks, each separated by 20×1023 FlexE data blocks. The encoding of the information in the sequence of four FlexE overhead blocks is illustrated in FIG. 10. The meaning, interpretation, and processing of this overhead are explained in clause 7 of Contribution Number: oif2015.127.01, the entirety of which is incorporated herein by reference. The first of each sequence of four FlexE overhead blocks is encoded as an ordered set as shown in FIG. 9. The next three FlexE overhead blocks are encoded as data 66 b blocks at known locations based on the position of the ordered set block. The block with the higher order 2 bits of D1=00 serves as a marker to be used for alignment and re-interleaving of the sub-calendars from each of the PHYs 22 of the FlexE group 12 at the FlexE demux. The full sequence repeats once per approximately 52.4 μs. Subject to the amount of buffer provided in a given implementation, skew detection and compensation across the PHYs 22 of the FlexE group 12 can be compensated up to a bit less than half of this amount.

FlexE Group Functions

The FlexE group 12 includes from 1 to n 100 GBASE-R PHYs 22. Each 100 GBASE-R PHY 22 reuses nearly all of the functions as described for 100 GBASE-R in IEEE Std 802.3-2015. This includes a subset of the functions of the PCS as described in clause 82, and all of the functions from sub-layers below the PCS as described in clauses 83, 86, 88, and 91-95 as appropriate according to the PHY type.

The FlexE shim 16 provides to each FlexE group PHY 22 a set of 64 b/66 b encoded blocks that are encoded according to FIG. 82-4 in IEEE Std 802.3-2015. Within the PCS, clause 82, each FlexE group PHY reuses (with reference to FIG. 82-2 in IEEE Std 802.3-2015) in the transmit direction, the scrambler, block distribution, and alignment insertion processes. In the receive direction, each FlexE group PHY reuses the lane block sync, alignment lock, and lane deskew (including Bit Error Rate (BER) monitor), lane reorder, alignment removal, and descrambling.

FlexE Clients

The format and standard bit rate of FlexE client 14 are described in clause 6.2 in IEEE Std 802.3-2015. However, FlexE also introduced the concept of flexible non-standard rates such as n×25 G (i.e. 175 G, 225 G, 300 G . . . ). FlexE clients 14 generally originate from one of the following sources. A FlexE client 14 may be generated internally within a system, for example from a Network Processing Unit (NPU) within a router or the like. The packet flow is generated at the determined FlexE client 14 MAC rate and 64 b/66 b encoded according to IEEE Std 802.3-2015 FIG. 82-4.

FlexE clients 14 at the rates of 10 G, 40 G, 100 G, and in the future 25 G and 400 G can be created from an Ethernet PHY 22 at the corresponding rate with some processing to convert to the FlexE client 14 format and rate.

A 10 GBASE-R signal will be converted to a 10 G FlexE client signal format before presenting to a FlexE mux by using the idle insertion/deletion process as described in IEEE Std 802.3-2015 clause 82.2.3.6 (which will actually be doing idle deletion) to adapt the signal to the 10 G FlexE client rate and align start of packet to an 8-byte boundary, encoding according to the 66 b block format of FIG. 82-4 in IEEE Std 802.3-2015 from the received format which uses the blocks according to FIG. 49-7 in IEEE Std 802.3-2015. A 10 G FlexE client signal coming from a FlexE demux can be converted to a 10 GBASE-R signal format by using the idle insertion/deletion process as described in IEEE Std 802.3-2015 clause 49.2.4.7 (which will actually be doing idle insertion to compensate for the space that had been occupied by FlexE group lane alignment markers and FlexE overhead), which also aligns to 4-byte boundaries, and encodes the blocks according to FIG. 49-7 in IEEE Std 802.3-2015.

The 25 GBASE-R specification is currently under development in the IEEE P802.3by project. While the specification has not been finalized, judging from currently adopted baselines, converting a 25 GBASE-R signal to a 25 G FlexE client signal format is expected to involve correcting FEC errors (if FEC present), removing the FEC, removing the CWM (if present), trans-decoding to 64 b/66 b, and using the idle insertion/deletion process as described in IEEE Std 802.3-2015 clause 82.2.3.6 (which will actually be doing idle deletion to make room for the FlexE overhead) to adapt the signal to the 25 G FlexE client rate and align start of packet to an 8-byte boundary, encoding according to the 66 b block format of FIG. 82-4 in IEEE Std 802.3-2015 from the received format which uses the blocks according to FIG. 49-7 of the same standard. The conversion of a 25 G FlexE client signal coming from a FlexE demux to a 25 GBASE-R signal is expected to involve using the idle insertion/deletion process as described in IEEE Std 802.3-2015 clause 49.2.4.7 (which will actually be doing idle insertion to compensate for the space that had been occupied by FlexE overhead—the FlexE group lane alignment markers take the same proportion of the space as the CWM), 256 b/257 b transcoding, insertion of the CWM, and calculation and insertion of FEC, if appropriate.

A 40 GBASE-R signal can be converted to a FlexE client 14 by serializing and deskewing the PCS lanes, removing the PCS lane alignment markers, and using the idle insertion/deletion process as described in IEEE Std 802.3-2015 clause 82.2.3.6 (which will actually be doing idle deletion to make room for the FlexE overhead) to adapt the signal to the 40 G FlexE client rate. A 40 G FlexE client 14 coming from a FlexE demux is converted to a 40 GBASE-R interface by using the idle insertion/deletion process as described in IEEE Std 802.3-2015 clause 82.2.3.6 (which in this direction is generally doing idle insertion to restore the nominal bit-rate after removal of FlexE overhead), distributing the blocks round-robin to the four PCS lanes, and inserting PCS lane alignment markers.

A 100 GBASE-R signal without FEC can be converted to and from a FlexE client 14 in the same manner as 40 GBASE-R described above (except that the number of PCS lanes is 20 rather than 4). A 100 GBASE-R signal with FEC, in converting to a FlexE client 14, also will correct any errors per the FEC code, remove the FEC, and trans-decode from 256 b/257 b prior to the idle insertion/deletion process. To convert a 100 G FlexE client 14 coming from a FlexE demux to a 100 GBASE-R signal with FEC involves the same processes as for 40 GBASE-R, but in addition, transcoding the signal to 256 b/257 b, inserting the FEC lane alignment markers, and adding the FEC.

400 GBASE-R is currently under development in the P802.3bs task force. This standard is not complete, but the process of converting to and from a 400 G FlexE client 14 is expected to be similar to that for converting a 100 GBASE-R client with FEC to and from a 100 G FlexE client 14.

A FlexE client might come from another FlexE shim. In the case of transport network equipment which implements the FlexE shim 16, FlexE clients 14 can be delivered from the FlexE shim 16 at the transport network ingress to another FlexE shim at the transport network egress. The FlexE flow as a sequence of 64 b/66 b encoded blocks is expected to be carried over the transport network without packet loss. As no timing information is carried by this stream, idle insertion or padding is possible in the mapping over the transport network. The FlexE shim 16 at the network egress will only need to perform idle insertion/deletion according to IEEE Std 802.3-2015 clause 82.2.3.6, not due to any expected change in the nominal bit-rate, but simply to align the clock with that of the other FlexE clients 14 for the same shim.

Interconnect Flexibility

Note that since the format of the FlexE client 14 is simply a logically serial stream of 66 b blocks at a given rate, FlexE clients 14 do not need to be produced or received in the same manner at both ends of the connection. For example, a 10 G, 25 G, or 40 G FlexE client 14 might be generated as a system internal signal in the main chassis of a system, connected using an n×100 G FlexE umbilicus to a satellite shelf, and connected to physical 10 GBASE-R, 25 GBASE-R, and 40 GBASE-R ports on the satellite shelf. In the case where the FlexE mux is receiving a FlexE client 14 from a physical Ethernet port and the FlexE demux is delivering that FlexE client 14 to a physical Ethernet port, the two ports obviously have to be the same rate, but they do not have to be the same PHY type.

FlexE Overhead

The format of the FlexE overhead is indicated in FIG. 10. The FlexE overhead is encoded as a 66 b block and is inserted on each PHY 22 of the FlexE group 12. One overhead block is inserted after every 1023 iterations of the length 20 calendar of FlexE data blocks, so the sequence is one block of overhead followed by 1023×20 blocks of data followed by one block of overhead.

A FlexE overhead lock is achieved at the receiver (FlexE demux) by recognizing the FlexE “O” code used to send the first of every four FlexE overhead blocks, so the sync header is 10, the control block type is 0×4 B (ordered set), and the “O” code is 0×5. Once the FlexE overhead lock is achieved, the next expected FlexE overhead will be 1023×20+1 block positions later. While in FlexE overhead lock, bytes D1-D3 of the ordered set block, plus the data blocks occurring at 66 B block positions 20461, 40922, and 122766 blocks beyond the ordered set block will be interpreted as FlexE overhead multiframe. FlexE overhead is not interpreted if not in FlexE overhead lock. The FlexE overhead lock will be lost if the sync header, control block type, or O code do not match at the expected position for 5 occurrences.

Calendar

There are two calendars for each PHY 22 of the FlexE group 12: the “A” calendar (encoded as 0) and the “B” calendar (encoded as one). The two calendars are used to facilitate hitless reconfiguration. Normally, changes are only made to the calendar which is not currently in use. Exceptions would include initial link configuration or replacement of a failed circuit pack where it is necessary to download the calendar information into the replacement pack.

The calendar in use is signaled from the FlexE mux to the FlexE demux in bit position 2 of the first three of the four codewords in the FlexE multiframe sequence. While most of the FlexE overhead can be reliably protected by the Cyclic Redundancy Check (CRC), the calendar in use must be interpreted even if the CRC is bad, since the FlexE demux must switch its calendar in use at precisely the same multiframe boundary as the FlexE mux. So that this can be done reliably, three copies of the calendar in use are transmitted and interpreted by the receiver by majority vote. Since the three copies are separated into different FlexE overhead blocks across the multiframe (1,351,704 bits apart from each other), the different copies will never be affected by the same burst error. Since each PHY should have a BER of 10⁻¹² or better, the probability of two instances of the calendar in use being wrong is no more than 10⁻²⁴, which can safely be ignored.

When the calendar in use changes from a 0 to a 1, or from a 1 to a zero, the calendar used by both the FlexE mux and the FlexE demux will be changed beginning with the first FlexE data block of the next FlexE overhead ordered set block.

The set of PHYs 22 in the FlexE group 12 (not necessarily consecutive) are indicated in the “PHY Map Active” portion of the PHY Map field of the FlexE overhead, distributed over the same group of forty sets of four blocks of FlexE overhead as are used to transmit the contents of the two calendars as described herein. The identity of this PHY 22 in the FlexE group (from 1 to n) is encoded in the D3 byte of the FlexE overhead ordered set block. Note that this is persistent information which does not change frequently. The receiver accepts a value for “This PHY” when seen identically for the second time in frames with a good CRC, and updates to the PHY map bit map are accepted from frames with good CRC. The “PHY Map Request” bits of the PHY map are used for a protocol for the addition and removal of PHYs from the FlexE group as described herein.

The contents of both the A and B calendar are transmitted continuously from the FlexE mux to the FlexE demux, with one calendar slot being programmed in each multiframe of the FlexE overhead. The PC bit indicates which calendar (0=the “A” calendar and 1=the “B” calendar). All slots of the A calendar are programmed (20 multiframes, one for each slot), followed by all slots of the B calendar (20 multiframes). The PC bit will be equal to 0 for the twenty multiframes for programming of the “A” calendar, and equal to 1 for the twenty multiframes for programming of the “B” calendar. The receiver (FlexE demux) achieves calendar lock when the PC bit changes from 0 to 1 or from 1 to 0 in consecutive multiframes with a good CRC. The receiver loses calendar lock if the expected value of the PC bit is wrong in a multiframe with a good CRC.

The calendar is programmed in the same order as the calendar is in the frame from slots 0 to 19, starting with the first multiframe where PC=0 (or is expected to be zero while in calendar lock) for the A calendar and the first multiframe where PC=1 (or is expected to be 1 while in calendar lock) for the B calendar.

The Client field indicates which of the FlexE clients is mapped into a given calendar slot. The size of a given FlexE client can be calculated based on the number of calendar slots that client is assigned to. The Client is a 16-bit field transmitted in the 2^(nd) and 3^(rd) octets in the second “row” of the multiframe (the first data block after the ordered set). The value 0x000 indicates a calendar slot which is unused (but available). The value 0xFFFF (all ones) indicates a calendar slot which is unavailable, for the case indicated in FIG. 5 where the full FlexE group PHY rate cannot be carried over the transport network.

Calendar slot assignment changes are ignored while not in Calendar lock. Any change to which client is mapped into a calendar slot is ignored in a frame with a bad CRC. The full contents of both calendars are transmitted from the FlexE mux to the FlexE demux approximately once every 2 ms. The fact that the calendars are transmitted continuously avoids an inconsistency between the calendars at the FlexE mux and the FlexE demux due to a lost message.

The normal process of reconfiguration (e.g., adding new FlexE clients 14 to the FlexE group 12 or resizing a FlexE client 14) will involve programming the new configuration into the calendar which is not in use, then switching to the updated calendar, and finally updating the original calendar. The FlexE mux should wait for at least 3 cycles of transmission of the full calendar after the last update before switching the updated calendar to be the new calendar in use as described in clause 7.3.2 in IEEE Std 802.3-2015. This provides a vanishingly small probability that a calendar update has not been successfully received without requiring an Acknowledgement (ACK).

Management Channel

Certain applications may require the use of a management channel between the FlexE mux and the FlexE demux. The management channel may not be required for an application where a single management system or controller has access to the FlexE shims 16 on both ends of the FlexE group 12, but certain applications such as using FlexE for an n×100 G umbilicus to a remote shelf may use the management channel for communication with the controller in the remote shelf for configuration, alarming, software update, etc. When the management channel is not used, it is transmitted as zeros before scrambling.

The format of the management channel is not specified and is application specific. The management channel occupies 18 bytes of each FlexE overhead multiframe. The total capacity of the management channel is approximately 2.749 Mb/s.

Each PHY 22 of the FlexE group can carry its own management channel. The management channels are not aggregated across the FlexE group to keep open the possibility to pass back remote failure indications, for example, losing one of the PHYs 22 of the FlexE group 12. Most likely protocols that would be carried over this type of channel would be message oriented and would have some sort of frame check sequence on each packet, and therefore not require marking bytes of the management channel as bad if the CRC on the FlexE overhead is bad.

FlexE Group Number

For some applications, it may be desirable to be able to distinguish one FlexE group 12 from another: for example, an 8-port device which is capable of being provisioned as a single 8-port group or two 4-port groups may create a situation where the PHY numbers could overlap between different groups. For such a situation, a 7-bit FlexE group number is provided which allows for checking that the correct PHY 22 is being received from the correct group number. When this field is used, it must be provisioned to the same value in both directions. When a non-zero value is provisioned, the received group number will be checked against the provisioned group number, and any mismatch will be alarmed to indicate the misconnection.

Reserved Bits

18 bits per FlexE overhead multiframe are reserved for possible future extensions to this implementation agreement. The reserved bits shall be transmitted as zero before scrambling. An implementation could choose to treat the receipt of non-zero in the reserved bits in a multiframe with a good CRC as a minor alarm, as it could indicate interconnection with a future version of this implementation agreement that is not known to be interoperable. An implementation could also choose to ignore these bits on receipt and leave the responsibility to an implementation of a newer version of the implementation agreement to recognize receipt of zeros as an indication of interconnection with an older version, and presumably, the newer version knows whether it is interoperable with the older version.

CRC-16

Primarily to avoid corrupting the content of the calendars in the presence of bit errors, the FlexE overhead is protected by a CRC. The CRC is calculated over the following bits across the four rows of the FlexE overhead multiframe (in the order transmitted and received, not the order described):

-   -   The D1, D2, and D3 bytes of the ordered set overhead block     -   All eight octets after the sync header of the 2^(nd) and 3^(rd)         overhead data blocks     -   The first six octets after the sync header of the 4^(th)         overhead data block.         The CRC is calculated using the polynomial x¹⁶+x¹²+x⁵+1. This         value is inserted by the FlexE mux into the transmitted         overhead. It is calculated by the FlexE demux over the same set         of bits and compared to the received value. Various overhead         described in the previous clauses is either accepted or ignored         based on whether the CRC matches the expected value.         FlexE Mux Data Flow

The FlexE Mux creates a logically serial stream of 66 b blocks by interleaving FlexE client signals, according to a master calendar of length 20 n slots for a FlexE group including n 100 GBASE-R PHYs. Each slot corresponds to 5 G of bandwidth. A FlexE client is assigned a number of slots according to its bandwidth divided by 5 G. The master calendar is distributed as described earlier in FIG. 6.

FIG. 11 presents an example of insertion of different bandwidth FlexE clients 14 into a logical master calendar. The slots assigned to a particular FlexE client 14 do not all need to be on the same PHY 22 of the FlexE group 12, and new clients 14 can be added as long as there are sufficient slots available. Any slot in the master calendar which is either “unassigned” or “unavailable” will be filled with Ethernet Error control blocks with the format given in FIG. 12. This ensures that any error in calendar slot assignment cannot appear to the FlexE demux as valid FlexE client data. Any incoming FlexE client 14 which has failed (e.g., one created from a physical Ethernet signal where the signal has failed, or failure to achieve block lock) will cause the slots assigned to that FlexE client 14 to be filled with Ethernet Local Fault ordered sets with the format as given in FIG. 13.

These rules allow for the creation of the complete data sequence on each PHY 22 of the FlexE group 12. The FlexE overhead is inserted onto each FlexE group PHY after every 1023 repetitions of the calendar sequence in the same relative position to the calendar sequence on every PHY 22. This provides a marker which allows the data from the different PHYs 22 of the FlexE group 12 to be re-interleaved in the original sequence so that the FlexE clients 14 can be extracted. The 66 b block stream is then converted into the format for the individual FlexE group PHY, which includes block distribution and alignment marker insertion, along with (if applicable) 256 b/257 b transcoding and FEC calculation and insertion.

FlexE Demux Data Flow

The FlexE Demux operates on a sequence of 66 b blocks received from each PHY 22 of the FlexE group 12. Recovering this sequence of blocks includes (if applicable), FEC error correction and FEC remove and trans-decoding to 64 b/66 b, PCS or FEC lane alignment, reinterleaving, and alignment marker removal. Once this has occurred, the PHYs 22 of the FlexE group 12 are re-interleaved so that FlexE clients 14 can be recovered as illustrated in FIG. 14. Note that the FlexE overhead multiframe repeats on a cycle of approximately 52.4 μs, which allows measuring skew differences between PHYs 22 of the FlexE group 12 of approximately ±25 μs.

Skew Tolerance Requirements

The amount of skew to be expected between the PHYs 22 of the FlexE group 12 are application specific. Skew requirements are specified for two classes of applications—low skew and high skew applications. Low Skew Applications include intra-data-center applications, plus those transport network applications where the FlexE shim 16 is implemented in the transport equipment, and the FlexE clients 14 rather than the PHYs 22 of the FlexE group 12 are carried across the transport network. The skew tolerance requirement for low skew applications is about 300 ns. Note that the intra-PCS-lane skew tolerance requirement for 100 GBASE-R is about 49 ns. A larger skew budget is established for FlexE applications of similar reach to account for the fact that the PCS lane deskew is not synchronized across the PHYs 22 of the FlexE group 12, and there may be other variation, such as cable length, or even heterogeneous 100 GBASE-R PHY types which are not present in a single 100 GBASE-R interface.

High Skew Applications include transport network applications where the PHYs 22 of the FlexE group 12 rather than the FlexE clients 14 are carried over the transport network (FlexE unaware transport). The skew tolerance requirement for high skew applications is about 10 μs. This is established to account for about 6 μs of dispersion-related skew if the PHYs are mapped over lambdas at opposite ends of the “C” band over large distances (e.g., trans-pacific), with extra margin for things like split-band amplifiers and patch cords or the processing time to crunch and uncrunch the signal in the case where not all of the calendar slots can be carried over the transport network connection.

If the intra-PHY skew exceeds the skew tolerance, the FlexE clients 14 will not be demapped from the incoming PHYs 22, but will be sent continuous Ethernet Local Fault Ordered sets as illustrated in FIG. 13 at the FlexE client rate. If one or more of the PHYs 22 of the FlexE group 12 has failed (e.g., loss of signal, failure to achieve block lock or alignment lock, high BER, or any other condition that results in PCS_Status=FALSE), the FlexE clients 14 will be sent continuous Ethernet Local Fault Ordered sets as illustrated in FIG. 13 at the FlexE client rate. In addition, when one or more of the PHYs 22 of the FlexE group 12 have failed continuous remote fault ordered sets will be sent back over the FlexE group 12 in the calendar slots assigned to any FlexE clients 14, and the RF bit will be set in the FlexE overhead of every PHY in the FlexE group toward the far-end shim.

Addition and Removal of PHYs from a FlexE Group

In general, only one PHY 22 should be added to or removed from a FlexE group 12 at a time. An added PHY 22 begins with all of its calendar slots (except those provisioned as unavailable) as unused. Prior to removing a PHY 22, all clients must be removed from all of its calendar slots in both the “A” and the “B” calendar, i.e., all calendar slots which are not provisioned as “unavailable” will be “unused.” Addition and removal of PHYs does not change the (PHY,slot) identifier for any calendar slot on any other PHY, and does not change the order of calendar slots assigned to any currently provisioned FlexE client 14.

Addition and removal of PHYs are controlled by the “PHY map active” and “PHY map request” fields of the FlexE overhead. Changes to either of these fields are only accepted from overhead multiframes with a good CRC. These fields are sent identically on every current PHY of the FlexE group. The receiver may choose to receive these fields from multiple PHYs (so if a CRC is bad on one PHY, it receives it from another), or may choose to receive the overhead from only one PHY and rely on the fact that the overhead is repeated in a continuous cycle to receive eventually updates through repetition.

Whether the PHY addition procedure to add a new PHY to the group is initiated from one or both ends is application dependent. The new PHY might be added at both ends by the management or control system, or one end might be the master and the other the slave, with the slave echoing back the PHY addition request initiated by the master. The initiation procedure begins by changing the bit position in the “PHY map request field” from a zero to a one, bringing up the new PHY, and transmitting the FlexE overhead on the PHY to be added.

The PHY is considered added once the following conditions are met:

The far end has also changed the bit position for the PHY to be added from zero to one in the “PHY map request” field.

PCS_status=TRUE for the PHY to be added (no Loss of Signal (LOS), block lock and AM lock have been achieved on every PCS lane, no hi_ber).

FlexE overhead lock and calendar lock are achieved on the added PHY, the expected value is being received in the “This PHY” field, and the FlexE overhead being received is within the skew tolerance with the rest of the FlexE group.

Once these conditions are met, the bit position corresponding to the added PHY is changed from a zero to a one in the “PHY map active” field. FlexE clients 14 may not be assigned to the newly added PHY until both the near end and the far end are indicating a one in the “PHY map active” field for the new PHY.

For PHY removal, all FlexE clients 14 must be removed from the A and the B calendars on a PHY before it can be removed. Any calendar slot not provisioned as “unavailable” must be “unused” in both calendars on the PHY. Whether the initiation procedure occurs from one or both ends is implementation dependent—both ends could be configured, or the controller at the far end could echo back the near end request in a master/slave configuration. The procedure begins by changing the PHY Map Request bit corresponding to the PHY to be deleted from a one to a zero. After the near end has changed the PHY Map Request bit to a zero, when the far end also has changed its PHY Map Request bit to a zero, the near end changes its PHY Map Active bit to a zero. The PHY is considered deleted once a zero is being received in the PHY Map Active bit from the far end. The FlexE overhead continues to be sent on the PHY being deleted until the far end is indicating zero in its PHY Map Active bit corresponding to the PHY.

FlexE Management

For FlexE group management, the control variables are the number of PHYs 22 in the FlexE group. The status variables are PHY_align—True if all PHYs in the FlexE group are being received and are within the skew tolerance of the implementation. False if one or more of the incoming PHYs has failed or if the inter-PHY skew exceeds the skew tolerance of the implementation.

For FlexE group management, per PHY, note that all 100 GBASE-R control and status variables in or below the PCS are applicable to each PHY of the FlexE group 12.

Control Variables:

-   -   PHY number (within the FlexE Group)     -   Number of available Calendar Slots (20 except when entire PHY         can't be carried across the transport network)     -   Mux_Calendar_A[0 . . . 19] and Mux_Calendar_B[0 . . . 19] The         FlexE client that is mapped into each of the respective calendar         slots in the transmit direction. The initial default for all         calendar slots is UNUSED, except in the case where the number of         available calendar slots is less than 20, in which case the         first AVAILABLE number of slots default to UNUSED and the rest         default to UNAVAILABLE.     -   Tx_Calander_in_use—Indicates whether the A or the B calendar is         currently active.         Status Variables     -   Demux_Calendar_(—A[)0 . . . 19] and Demux_Calendar_B[0 . . . 19]         The FlexE client that the far end has mapped into each of the         calendar slots in the received direction. The initial default         for all calendar slots (prior to information received from the         far end) is UNUSED, except in the case where the number of         available calendar slots is less than 20, in which case the         first AVAILABLE number of slots default to UNUSED and the rest         default to UNAVAILABLE.     -   Rx_Calendar_in_use—Indicates the calendar being used at the         current time by the far end.         Transport Network Mappings for Flex Ethernet Signals

Three different methods of mapping of FlexE signals over transport networks are possible. The case of FlexE unaware transport involves the transport network mapping each of the Ethernet PHYs independently over the transport network using a PCS codeword transparent mapping. Since the FlexE mux and FlexE demux are separated by transport network distances, this requires a “high skew” implementation of the FlexE shim 16.

Note that certain existing OTN mappers/demappers are not fully PCS codeword transparent with respect to LF and RF ordered sets, and may mistake an LF or RF sent for an individual FlexE client as an LF or RF for the entire link and bring the link down. This is not an issue in the case of FlexE unaware transport of simple bonding to carry a larger rate flow, as a failure of the single high-rate FlexE client is equivalent to a failure of the group. But it may be an issue if FlexE unaware transport is used to carry a group of multiple lower-rate FlexE client services using less than fully PCS codeword transparent mappings.

The next case is where the FlexE shim 16 is implemented in the transport network equipment, and rather than carrying the PHYs 22 of the FlexE group 12 over the transport network, the FlexE clients 14 are carried over the transport network. The 64 b/66 b encoded FlexE client rate is:

${{FlexE}\mspace{14mu}{Client}\mspace{14mu}{MAC}\mspace{14mu}{rate} \times \frac{66}{64} \times \frac{16383}{16384} \times \frac{20460}{20461}} \pm {100\mspace{14mu}{ppm}}$ Note that while this is the stream of blocks presented to the transport network from the FlexE shim 16 to be carried, since this stream does not have any timing information, the transport network is not required to signal at this rate: idle insertion/deletion or padding may be used in the mapping specified by ITU-T if it provides a more convenient rate for the transport.

When a FlexE client 14 is mapped in this manner, it may be connected at the OTN egress to another FlexE shim 16 where it will be clock aligned with other FlexE clients 14 carried over the same FlexE group 12. It may also be connected to an Ethernet PHY 22 with the same nominal MAC rate as the FlexE client 14 using the appropriate conversion as described herein.

Note that in the case where it is necessary to connect a FlexE client 14 to an Ethernet PHY 22 across an OTN where the Ethernet PHY 22 uses a legacy mapper/demapper, it may be necessary to perform the conversion of the FlexE client 14 to the Ethernet PHY format according to clause 7.2.2 immediately after the FlexE shim 16 and to map the FlexE client 14 over OTN as if it was an Ethernet PHY 22 of the corresponding rate. This second case can use a “low skew” implementation of the FlexE shim 16 as described herein.

The third case is where the FlexE shim 16 is not terminated in the transport network equipment, but the transport network equipment “crunches” the PHY 22 of the FlexE group 12 by discarding unavailable calendar slots at the transport network ingress and re-inserting them at the transport network egress. The mapping of this requires serializing and deskewing the PCS lanes of the PHY, then discarding all “UNAVAILABLE” calendar slots from the structure to reduce the bit-rate. For example, if only 15 of 20 calendar slots are available, there are effectively 1023 repetitions of a length 15 calendar after discarding the unavailable slots. At the transport network egress, the unavailable slots are restored to the FlexE PHY stream of 66 b blocks (inserting error control blocks as illustrated in FIG. 12. The net bit-rate of this reduced-rate flow when there are “n” available calendar slots is:

${103.125\mspace{14mu}{Gb}\text{/}s \times \frac{16383}{16384} \times \frac{1 + {1023n}}{20461}} \pm {100\mspace{14mu}{ppm}}$ FlexO and FlexE

Referring to FIG. 15, in an embodiment, a diagram illustrates a comparison between the layer stack and atomic functions of FlexO and FlexE. Of note, FlexO and FlexE are converging and look alike in the layer stack and atomic functions. In various embodiments, the systems and methods described herein contemplate FlexE as becoming the next B100 G multiplexed structure. For example, map Low Order (LO) Optical channel Data Unit-j (ODUj), High Order (HO) Optical channel Data Unit-k (ODUk) and ETY right into a FlexE shim 16. The FlexE group 12 can be a section layer, and the FlexE client 14 (the 64 b/66 b stream, which could be OTN) can become a switchable Operations, Administration, and Maintenance (OAM) service.

FlexE Switching

The FlexE switching systems and methods provide various implementations and related ideas for TDM switching FlexE. As described above, the FlexE implementation agreement (in OIF) defines a TDM frame structure using 20× calendar slots per 100 G group. These include 5 G 64 b/66 b block streams distributed in a round-robin fashion to create a TDM structure.

The FlexE switching systems and methods deal with mapping such 64 b/66 b block streams into Synchronous Transport Signal-n (STS-n) structures, to be switched using legacy systems and fabrics. This can include mapping 64 b/66 b into STS using asynchronous stuffing, mitigating against skew across a fabric, and performing frequency and phase alignment for the 64 b/66 b into a synchronous system. Some transcoding techniques can be applied to lower bandwidth and fit into an STS-n where n is a standard number (such as STS-192).

Also, the FlexE switching systems and methods deal with mapping 64 b/66 b blocks into existing P-OTS cell switch architectures. The FlexE TDM slots are SARed (Segmentation and Reassembly) using OIF OTN over Packet (OPF) techniques and can be switched as a TDM stream across existing fabrics, co-locating packet and OTN traffic. OIF OPF is described in IA # OIF-OFP-01.0, “OTN Over Packet Fabric Protocol (OFP) Implementation Agreement” (November 2011), the contents of which are incorporated by reference. FlexE is beyond the scope of IA # OIF-OFP-01.0, but uses similar concepts. Timing transparency can be used for transparent switching of the 64 b/66 b streams.

Finally, the FlexE switching systems and methods deal with possible new TDM fabric architectures optimized around switching 64 b/66 b blocks and streams. The FlexE shims 16 can be used in on-ramp/off-ramp logic of a line card and can also be used to pack 64 b/66 b blocks on fabric links.

The FlexE switching systems and methods can be used to augment existing switch fabrics, P-OTS and OTN platforms. Further, the FlexE switching systems and methods can be used in next-generation switches, such as for use in applications which have not adopted OTN to date (e.g., intra data center applications).

Referring back to FIG. 7, FlexE introduces the concept of calendar slots, using 64 b/66 b block boundaries with 5 G granularity (20 per 100 G). These could be switched and moved around in a TDM fashion, similar to SONET/SDH STS-1 timeslots. This could include a partial termination of the FlexE shim 16, but keeping 64 b/66 b blocks intact. The scheme is completely agnostic to the content or grouping of the 64 b/66 b stream. The container to send FlexE slots from a line card to a fabric can also be a FlexE shim 16 using standard 100 GE interfaces or the like.

FlexE-Based Switching Fabric

Referring to FIGS. 16 and 17, in an embodiment, block diagrams illustrate a FlexE switch 100 showing FlexE transparent (FIG. 16) and showing FlexE termination (FIG. 17). The FlexE switch 100 is a new fabric, optimized for FlexE switching, i.e., the FlexE switch 100 is not an SONET/SDH STS switch, a P-OTS or OTN switch. For illustration purposes, the FlexE switch 100 is illustrated with two line cards 102 and two fabrics 104. In FIG. 16, the line cards 102 include ingress/egress ports 106 which can be communicatively coupled externally to the FlexE switch 100. The line cards 102 connect to one another via the fabrics 104 through interfaces 108, such as a backplane, midplane, etc. In an embodiment, the FlexE switch 100 is a Clos-based switch between the line cards 102 and the fabrics 104. In physical implementations, the line cards 102 and the fabrics 104 include circuitry for implementing the functions described herein, and the ports 106 and the interfaces 108 are interconnection mechanisms.

Those of ordinary skill in the art will recognize the FlexE switch 100 can include other components which are omitted for illustration purposes, and that the systems and methods described herein are contemplated for use with a plurality of different hardware configurations with the FlexE switch 100 presented as an example. For example, in another embodiment, the FlexE switch 100 may not include the fabrics 104, but rather have the corresponding functionality in the line cards 102 (or some equivalent) in a distributed fashion. For the FlexE switch 100, other architectures providing ingress, egress, and switching are also contemplated for the systems and methods described herein.

The ports 106 can include N×FlexE clients 14 over M×FlexE groups 12, with standard PMD interfaces (e.g., 100 GbE). The line cards 102 can include a FlexE shim termination block 110, facing the ports 106, and a FlexE shim termination block 112, facing the interfaces 108. The fabrics 104 can include a FlexE shim termination block 114, facing the interfaces 108 and a FlexE shim termination block 112. The FlexE shim termination blocks 110, 112, 114 can include circuitry to perform the following functions.

The FlexE shim termination block 110 is configured to terminate FlexE shim overhead and to provide access to 64 b/66 b blocks and slots. The FlexE shim termination block 110 functions similar to a framer/mapper in a switch device. The line cards 102 include switching circuitry 116 which can operate as a first stage and a third stage (or ingress stage and egress stage) in a Clos-architecture. The switching circuitry 116 is configured to move around (switch) 64 b/66 b blocks to an appropriate fabric link, on the interfaces 108. The switching circuitry 116 can operate similarly in a Fabric Interface Controller (FIC).

On the interfaces 108, the FlexE shim termination blocks 112, 114 pack 64 b/66 b blocks into a new FlexE shim (container) to go to the fabric. The links on the interfaces 108 can use standard groups/PMDs, such as FlexE in a Chip-to-Chip (C2C) application described in commonly-assigned U.S. patent application Ser. No. 14/824,715, filed Aug. 12, 2015, and entitled “FLEXIBLE ETHERNET CHIP-TO-CHIP INTERFACE SYSTEMS AND METHODS,” the contents of which are incorporated by reference. The fabrics 104 include switching circuitry 118 which can operate as a second stage (or center stage) in the Clos-architecture. The switching circuitry 118 is configured to switch on a 64 b/66 b block boundary and is completely agnostic to the content or grouping of the 64 b/66 b blocks.

FIG. 17 illustrates an operation of the FlexE switch 100. The FlexE switch 100 utilizes a synchronous scheme. However, some idle adaptation (part of full shim function and based on 802.3 clause 82) could be performed at entry/exit of the line card 102. The fabrics 104 can utilize frequency and time (phase and frequency) synchronization (to keep proper order and handle groups of slots/blocks). The time synchronization could be based on FlexE frame boundaries, i.e., an analogy to 8 k from SDH. This could allow hitless switching with FlexE given that all flows are aligned.

Referring to FIG. 18, in an embodiment, block diagrams illustrate processing performed by the line cards 102 at the ports 106. Specifically, FIG. 18 includes ingress processing 200 and egress processing 202. The FlexE switch 100 can include idle adaptation 210 based on 802.3 clause 82 scheme, which is analogous to pointer processing performed in SONET/SDH. The idle adaptation 210 could be done at ingress/egress of the FlexE switch 100, i.e., at the ports 106, and could be part of the FlexE shim function, i.e., the FlexE shim termination block 110.

The ingress processing 200 is configured to take N MAC streams and output M block streams. The N MAC streams are 64 b/66 b encoded, the idle adaptation 210 is performed, i.e., idle insert/remove based on clause 82, TDM construction is performed with the calendar, distribution is performed, and a frame header is inserted into the M block streams. The egress processing 202 is configured to take M block streams and output N MAC streams. The M block streams are frame locked, deskewed, reordered, TDM deconstructed with the calendar, the idle adaptation 210 is performed, again based on clause 82, i.e., idle insert/remove, and 64 b/66 b decoded.

FlexE-Based Switching Using an SONET/SDH STS Fabric

Referring to FIG. 19, in an embodiment, a block diagram illustrates an STS switch 300 adapted to support FlexE. The STS switch 300 is a TDM fabric that supports SDH/SONET switching at the STS-1 level and a TDM Fabric with Frame Interface (TFI). The STS switch 300 is adapted to support further FlexE switching. The STS switch 300 includes line cards 302, fabrics 304, ports 306, and interfaces 308. The line cards 302 include a FlexE shim termination block 310 and a TFI block 312, and the fabrics 304 include a TFI block 314. Also, the line cards 302 include switching circuitry 316, and the fabrics 304 include switching circuitry 318.

The STS switch 300 is configured to adapt 64 b/66 b blocks into STS-n. The rate of the calendar slots is (100 GE/20-(20*1024)/(1+20*1024))=5.15 G which requires an STS-100 container for 64 b/66 b. The STS switch 300 is configured to transcode 64 b/66 b into 256 B/257 B (from IEEE 802.3bj, the entirety of which is incorporated herein by reference), specifically 5.15 G*32/33*257/256=5.013 G, which requires an STS-97. The STS adaptation can implement various “tricks” or the like to fit into the 64 b/66 b blocks into fewer spaces, such as to reuse a part of the STS and use the idle adaptation to get to STS-96, which is a meaningful number in SONET/SDH. Since the minimum FlexE client granularity is 10 G, it is possible to group 2× slots and map into an STS-192c. The STS switch 300 can use a special 64 b/66 b “O code,” i.e., 0×9, as stuffing to fit FlexE 64 b/66 b stream into the STS-n frame format. The STS switch 300 can phase align FlexE frame boundaries to SDH 8 k to preserve 64 b/66 b block skew for groups of calendar slots.

At the ports 306 and the FlexE shim termination block 310, there are N×clients and M×groups (which can include standard PMD interfaces). The FlexE shim termination block 310 terminates the shim overhead and provides access to the 64 b/66 b blocks and slots. The STS switch 300 includes adaptation circuitry 320. The adaptation circuitry 320 is configured to adapt (map/demap) 64 b/66 b to STS-n while keeping bit transparency for the 64 b/66 b stream. Subsequent to the adaptation circuitry 320, the STS switch 300 provides STS switching. Specifically, the switching circuitry 316, 318 provides STS level switching, and the TFI blocks 312, 314 utilize standard TFI5 links.

FlexE-Based Switching Using OPF

Referring to FIGS. 20 and 21, in an embodiment, block diagrams illustrate an OPF switch 400 adapted to support FlexE. Note, OPF is described in IA # OIF-OFP-01.0 “OTN Over Packet Fabric Protocol (OFP) Implementation Agreement” (November 2011), the contents of which are incorporated by reference. The objectives of the OPF switch 400, for FlexE switching, include maintaining 64 b/66 b coding; switching in N×5 G units, i.e., a single 5 G calendar slots or a full client flow; maximizing fabric bandwidth efficiency (by minimizing header and/or payload); providing timing transparency using B+/−1; performing byte alignment of payload units for ease of re-creating FlexE stream; minimizing fabric related skew between bonded flows; and performing error detection across fabric between SARs. It may be assumed that the fabric packets are not required to carry an integral number of FlexE payload units, and the fabric maintains packet order within a flow.

An OPF header includes 32 bits, as follows: Timestamp (16), Reserved (6), Sequence Number (2), Previous Packet Size Indicator 1 (2), PPSI2/BIP-8 (2), CSI (3), Parity (1). The OPF switch 400 can use the OPF header in part for FlexE switching. The Timestamp is needed for fabric latency variation compensation, and there could possibly be a reduction in resolution by 1 or 2 bits. The Reserved bits are available to be used. The Sequence Number is needed for lost packet detection; the Previous Packet Size Indicator 1 provides timing transfer lost packet compensation. The PPSI2 is not needed unless the double packet loss probability is high enough—not likely, but the BIP-8 is desirable to provide SAR-to-SAR error detection; could be added to OPF IA. The CSI is optional and is provided for fast protection switching. With changes, there could be 6 or as many as 9-11 bits available in the OPF header.

Timing transparency is required when a destination client is not synchronous with a source client. OPF varies packet size from nominal by +/− one byte to signal the source rate. This requires a Packet Size Decision (PSD) at both ingress and egress points and uses PPSI to communicate previous packet size to allow for single packet loss. For rate adaptation, the fabric has speed up over the line, so idle removal on ingress is not required, and the egress point is the logical place for idle insertion/removal. If timing transparency is not required, fabric packets could have a fixed payload size. It is possible to make packet size a fixed multiple (likely fractional) of a payload unit. A fixed pattern could be aligned to SQ, additional header bit(s) if necessary.

The OPF switch 400 can use OPF mechanisms for the cell switch fabrics. This can accumulate 66 B blocks of one or more calendar slots for a stream and create B+/− 1 sized packets with timing transfer. In a first option, this can be performed with no transcoding—fill packet payload with 66 B blocks, first/last 66 B blocks may span 2 packets, every 4^(th) 66 B block is byte aligned (every 33 bytes), and mark the first byte aligned block in OPF header (6 bits). In a second option, this can be performed with transcoding, i.e., transcode 4 66 B blocks to a 257 B block, carry 257 B block control/data bit in header to maintain byte alignment (8 bits required for 256 byte fabric packet class), mark start of first complete 256 B block in OPF header (5 bits), etc.

Alternatively, the OPF switch 400 could use a simplified OPF mechanism for the cell switch fabrics. This can accumulate 66 B blocks of one or more calendar slots for a stream and create fixed sized packets with no timing transfer. In a first option, there is no transcoding, i.e., fill packet payload with 66 B blocks, first/last 66 B blocks may span 2 packets, every 4^(th) 66 B block is byte aligned (every 33 bytes), mark start of repeating block pattern (1 bit) (up to 33 packets in pattern, dependent on payload length), and mark the first byte aligned block in OPF header (6 bits). In a second option, this can be performed with transcoding, i.e., transcode 4 66 B blocks to 257 B block, carry 257 B block control/data bit in header to maintain byte alignment (8 bits required for 256 byte fabric packet class), mark start of repeating block pattern (1 bit) (up to 33 packets in pattern). This requires 9 header bits.

Another option can include carrying the complete 257 B block in the packet payload; this reduces header requirements; every 8th block is byte aligned; need to signal block alignment. Block alignment signaling can be serialized since it is used only at traffic (re)start; reduces header requirements; applies to all three options above. The block pointer can be serialized using one or more header bits, aligned to SQ. For example, a possible bit sequence for a 5-bit offset serialized using a single header bit over 8 packets: starting on SQ=0, 0, offset[0], offset[1], offset[2], 1, offset[3], offset[4], unused. This can be applied to any of the preceding options that require block alignment signaling, not just the 257 B option in this clause.

For skew management, OPF provides a fixed fabric delay, greater than max fabric delay, to smooth out fabric packet delay variations. All fabric switched flows can be configured to have the same delay, with sub-microsecond precision (typically sub-100 ns).

The OPF switch 400 in FIGS. 20 and 21, similar to the FlexE switch 100 and the STS switch 300, includes line cards 402, fabrics 404, ports 406, and interfaces 408. The line cards 402 include a FlexE shim termination block 410 and a block 412, and the fabrics 404 include a block 414 which physically forms the interfaces 408 with the block 412. Also, the line cards 402 include circuitry 416, and the fabrics 404 include switching circuitry 418.

FIG. 20 illustrates the OPF switch 400 for asynchronous ports. Here, the ports 406 are asynchronous to system timing. FIG. 21 illustrates the OPF switch 400 for synchronous ports. Here, the ports 406 are synchronous to the system timing. The ports 406 support N×clients or M×groups (with standard PMD interfaces). The FlexE shim termination block 410 is configured to terminate shim overhead and provide access to 64 b/66 b blocks and slots. The line cards 402 use a phase aligned clock to deskew FlexE channels passing across the fabric 404 as unique flows. The phase aligned clock allows time stamping of each cell thereby enabling deskewing at the egress.

In FIG. 20, the circuitry 416 performs OPF SARing and Timing Transfer and, in FIG. 21, the circuitry 416 performs OPF SARing. The SAR function adapts 64 b/66 b TDM streams using OPF, keeping 64 b/66 b blocks and streams intact. In FIG. 20, the timing transfer is required for asynchronous port timing, but not required in FIG. 21. The switching circuitry 418 uses cells for OTN TDM switching, e.g., using OIF OPF specifications. The OPF switch 400 operates creating 5 G cell flows based on 64 b/66 b calendar slots.

The OPF implementation can support a single fabric channel for each client. This would require the merging of data from each 5 G channel into a single fabric channel. This scheme would reduce connection scaling resource demand in the fabric system assuming that the average client had a bandwidth greater than a single calendar slot. If the client calendar slots were distributed across multiple ingress cards, multiple fabric channels (1 from each card/client) could be supported utilizing the phase aligned clock to allow for the mapping into of the egress channels.

The OPF can also support a single fabric channel for each calendar slot. This simplifies the implementation at the expense of connection scaling in the fabric. It does require the support of the phase aligned clock to ensure channel alignment at the egress.

Referring to FIG. 22, in an embodiment, a diagram illustrates mapping individual client calendar slots to packets for the OPF switch 400. Specifically, FIG. 22 shows the calendar from FIG. 7 and mapping associated client calendar slots into a single fabric packet. For example, two clients are shown.

It will be appreciated that some embodiments described herein may include one or more generic or specialized processors (“one or more processors”) such as microprocessors, digital signal processors, customized processors, and field programmable gate arrays (FPGAs) and unique stored program instructions (including both software and firmware) that control the one or more processors to implement, in conjunction with certain non-processor circuits, some, most, or all of the functions of the methods and/or systems described herein. Alternatively, some or all functions may be implemented by a state machine that has no stored program instructions, or in one or more application specific integrated circuits (ASICs), in which each function or some combinations of certain of the functions are implemented as custom logic. Of course, a combination of the aforementioned approaches may be used. Moreover, some embodiments may be implemented as a non-transitory computer-readable storage medium having computer readable code stored thereon for programming a computer, server, appliance, device, etc. each of which may include a processor to perform methods as described and claimed herein. Examples of such computer-readable storage mediums include, but are not limited to, a hard disk, an optical storage device, a magnetic storage device, a ROM (Read Only Memory), a PROM (Programmable Read Only Memory), an EPROM (Erasable Programmable Read Only Memory), an EEPROM (Electrically Erasable Programmable Read Only Memory), Flash memory, and the like. When stored in the non-transitory computer readable medium, software can include instructions executable by a processor that, in response to such execution, cause a processor or any other circuitry to perform a set of operations, steps, methods, processes, algorithms, etc.

Although the present disclosure has been illustrated and described herein with reference to preferred embodiments and specific examples thereof, it will be readily apparent to those of ordinary skill in the art that other embodiments and examples may perform similar functions and/or achieve like results. All such equivalent embodiments and examples are within the spirit and scope of the present disclosure, are contemplated thereby, and are intended to be covered by the following claims. 

What is claimed is:
 1. A switch system configured to switch Flexible Ethernet (FlexE) client services, the switch system comprising: interface circuitry configured to ingress and egress FlexE clients from a FlexE shim; and switch circuitry communicatively coupled to the interface circuitry and configured to switch portions of the FlexE clients utilizing a cell switch fabric, wherein the switch circuitry is configured to accumulate 66 b blocks of one or more calendar slots from the FlexE clients and transcode the 66 b blocks into 257 b blocks.
 2. The switch system of claim 1, wherein the portions of the FlexE clients are SARed (Segmentation and Reassembly) using Optical Transport Network (OTN) over Packet (OPF) techniques and switched as a stream across the cell switch fabric.
 3. The switch system of claim 2, wherein the OPF techniques accumulate 66 b blocks of one or more calendar slots with packets sized by +/− one byte to a signal source rate with timing transfer.
 4. The switch system of claim 2, wherein the OPF techniques accumulate 66 b blocks of one or more calendar slots with fixed sized packets with no timing transfer.
 5. The switch system of claim 2, wherein the cell switch fabric utilizes a phase aligned clock to deskew at an egress of the FlexE clients.
 6. The switch system of claim 1, wherein the portions of the FlexE clients are switched based on calendar slots in the FlexE clients.
 7. The switch system of claim 1, wherein the switch circuitry is configured to accumulate blocks of one or more calendar slots from the FlexE clients, create packets with a header, and switch the packets.
 8. A switch system configured to switch Flexible Ethernet (FlexE) client services, the switch system comprising: interface circuitry configured to ingress and egress FlexE clients from a FlexE shim; and switch circuitry communicatively coupled to the interface circuitry and configured to switch portions of the FlexE clients utilizing a cell switch fabric wherein the portions of the FlexE clients are SARed (Segmentation and Reassembly) using Optical Transport Network (OTN) over Packet (OPF) techniques and switched as a stream across the cell switch fabric, wherein the OPF techniques accumulate 66 b blocks of one or more calendar slots with one of i) packets sized by +/− one byte to a signal source rate with timing transfer and ii) fixed sized packets with no timing transfer.
 9. The switch system of claim 8, wherein the cell switch fabric utilizes a phase aligned clock to deskew at an egress of the FlexE clients.
 10. The switch system of claim 8, wherein the portions of the FlexE clients are switched based on calendar slots in the FlexE clients.
 11. The switch system of claim 8, wherein the switch circuitry is configured to accumulate blocks of one or more calendar slots from the FlexE clients, create packets with a header, and switch the packets.
 12. The switch system of claim 8, wherein the switch circuitry is configured to accumulate 66 b blocks of one or more calendar slots from the FlexE clients and transcode the 66 b blocks into 257 b blocks.
 13. A switch system configured to switch Flexible Ethernet (FlexE) client services, the switch system comprising: interface circuitry configured to ingress and egress FlexE clients from a FlexE shim; and switch circuitry communicatively coupled to the interface circuitry and configured to switch portions of the FlexE clients utilizing a cell switch fabric wherein the portions of the FlexE clients are SARed (Segmentation and Reassembly) using Optical Transport Network (OTN) over Packet (OPF) techniques and switched as a stream across the cell switch fabric, wherein the cell switch fabric utilizes a phase aligned clock to deskew at an egress of the FlexE clients.
 14. The switch system of claim 13, wherein the OPF techniques accumulate 66 b blocks of one or more calendar slots with packets sized by +/− one byte to a signal source rate with timing transfer.
 15. The switch system of claim 13, wherein the OPF techniques accumulate 66 b blocks of one or more calendar slots with fixed sized packets with no timing transfer.
 16. The switch system of claim 13, wherein the portions of the FlexE clients are switched based on calendar slots in the FlexE clients.
 17. The switch system of claim 13, wherein the switch circuitry is configured to accumulate blocks of one or more calendar slots from the FlexE clients, create packets with a header, and switch the packets.
 18. The switch system of claim 13, wherein the switch circuitry is configured to accumulate 66 b blocks of one or more calendar slots from the FlexE clients and transcode the 66 b blocks into 257 b blocks. 